package com.geqian.web.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * @author geqian
 * @date 15:37 2024/1/10
 */
@Data
public class SimpleMenu {

    private String label;

    private String menuId;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<SimpleMenu> children;

    @JsonIgnore
    private String parentId;
}
